home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_sol_dynalight2.cog < prev    next >
Text File  |  1999-11-15  |  1KB  |  49 lines

  1. # Jones 3D Cog Script
  2. #
  3. # SOL_DynaLight2.cog
  4. #
  5. # [TRM]
  6. #
  7. # (C) 1999 LucasArts Entertainment Company LLC. All Rights Reserved
  8. #
  9. # ========================================================================================
  10.  
  11. symbols
  12.  
  13.     message     startup
  14.  
  15.     thing       treasure
  16.     thing       coffin1
  17.     thing       coffin2
  18.     thing       coffin3
  19.     thing       coffin4
  20.     
  21.     flex        rval=0.44
  22.     flex        gval=0.28
  23.     flex        bval=0.03
  24.     
  25.     vector      color           local
  26.  
  27. end
  28.  
  29. # ========================================================================================
  30.  
  31. code
  32.  
  33. startup:
  34.  
  35.     Sleep(1.0);
  36.     color = VectorSet(rval, gval, bval);
  37.     SetThingLight(treasure, color, 0.2, 0.5);
  38.     SetThingLight(coffin1, color, 0.2, 0.5);
  39.     SetThingLight(coffin2, color, 0.2, 0.5);
  40.     SetThingLight(coffin3, color, 0.2, 0.5);
  41.     SetThingLight(coffin4, color, 0.2, 0.5);
  42.     
  43.     return;
  44.            
  45. # ========================================================================================
  46.  
  47. end
  48.  
  49.